package DBUntil;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class MyProperties extends Properties {

	static MyProperties instance = new MyProperties();

	private MyProperties(){
		try {
			this.load(this.getClass().getClassLoader().getResourceAsStream("db.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	public static MyProperties getInstance() {
		return instance;
	}
	
}
